From 4c9dc8de31b4c75117f21de4f8a057b42c83e166 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Wed, 10 May 2023 01:04:06 -0500 Subject: [PATCH] Create the document root directory if necessary --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d3bd654..eea22e9 100644 --- a/Makefile +++ b/Makefile @@ -228,11 +228,11 @@ $(PREFIX)/requirements.txt.new: install-sphinx ## install-pdf Install the pdf docs on the website .PHONY: install-pdf -install-pdf: $(PDF_A4_PATH) $(PDF_LETTER_PATH) +install-pdf: $(PDF_A4_PATH) $(PDF_LETTER_PATH) $(DOC_ROOT) ## install-html Install the html docs on the website .PHONY: install-html -install-html: html +install-html: html $(DOC_ROOT) rsync -rtO --delete --force $(SPHINX_BUILT_HTML)/ $(HTML_PATH) ## install-sphinx Install sphinx in a virtualenv @@ -327,7 +327,7 @@ $(PDF_LETTER_PATH): $(PDF_LETTER_TARGET) # Construct all the source dirs used to build output $(LATEX_DIRS) $(HTML_DIRS) $(HTML_SRCDIR) $(LATEX_SRCDIR) \ - $(HTML_STATIC_DIR): + $(HTML_STATIC_DIR) $(DOC_ROOT): mkdir -p $@ # -- 2.34.1